import {MockMethod} from 'vite-plugin-mock'
import {baseApi} from "../config";

export default [
    {
        url: `${baseApi}/system/menu/add`,
        method: 'POST',
        params: {
            "pid": 17,
            "menuType": "0",
            "menuName": "工作流程",
            "name": "/api/v1/flow/list",
            "component": "/flow/list",
            "isLink": 0,
            "orderNum": 10,
            "path": "/flow/list",
            "redirect": "",
            "icon": "iconfont icon-diannao-shuju",
            "roles": [],
            "isHide": "0",
            "isKeepAlive": 1,
            "isAffix": 0,
            "linkUrl": "",
            "isIframe": 0
        },
        response: () => {
            return {"code": 0, "message": "", "data": null}
        }
    },
    {
        url: `${baseApi}/system/menu/delete`,
        method: 'delete',
        response: () => {
            return {
                "code": 0,
                "message": "",
                "data": null
            }
        }
    },
    {
        url: `${baseApi}/system/menu/update`,
        method: 'put',
        response: () => {
            return {
                "code": 0,
                "message": "",
                "data": null
            }
        }
    },
    {
        url: `${baseApi}/system/menu/list`,
        params: {title: '', component: ''},
        method: 'get',
        response: () => {
            return {
                "code": 0,
                "message": "",
                "data": {
                    "rules": [
                        {
                            "id": 17,
                            "pid": 0,
                            "name": "outLink",
                            "title": "外链测试",
                            "icon": "iconfont icon-zhongduancanshu",
                            "condition": "",
                            "remark": "",
                            "menuType": 0,
                            "weigh": 20,
                            "isHide": 0,
                            "isCached": 1,
                            "isAffix": 0,
                            "path": "/demo/outLink",
                            "redirect": "",
                            "component": "layout/routerView/parent",
                            "isIframe": 0,
                            "isLink": 0,
                            "linkUrl": "",
                            "children": [
                                {
                                    "id": 16,
                                    "pid": 17,
                                    "name": "aliyun",
                                    "title": "阿里云-iframe",
                                    "icon": "iconfont icon-diannao1",
                                    "condition": "",
                                    "remark": "",
                                    "menuType": 1,
                                    "weigh": 0,
                                    "isHide": 0,
                                    "isCached": 1,
                                    "isAffix": 0,
                                    "path": "/demo/outLink/aliyun",
                                    "redirect": "",
                                    "component": "layout/routerView/iframes",
                                    "isIframe": 1,
                                    "isLink": 1,
                                    "linkUrl": "https://www.aliyun.com/daily-act/ecs/activity_selection?spm=5176.8789780.J_3965641470.5.568845b58KHj51",
                                    "children": []
                                },
                                {
                                    "id": 18,
                                    "pid": 17,
                                    "name": "tenyun",
                                    "title": "腾讯云-外链",
                                    "icon": "iconfont icon-shouye_dongtaihui",
                                    "condition": "",
                                    "remark": "",
                                    "menuType": 1,
                                    "weigh": 0,
                                    "isHide": 0,
                                    "isCached": 1,
                                    "isAffix": 0,
                                    "path": "/demo/outLink/tenyun",
                                    "redirect": "",
                                    "component": "layout/routerView/link",
                                    "isIframe": 0,
                                    "isLink": 1,
                                    "linkUrl": "https://cloud.tencent.com/act/new?cps_key=20b1c3842f74986b2894e2c5fcde7ea2\u0026fromSource=gwzcw.3775555.3775555.3775555\u0026utm_id=gwzcw.3775555.3775555.3775555\u0026utm_medium=cpc",
                                    "children": []
                                }
                            ]
                        },
                        {
                            "id": 1,
                            "pid": 0,
                            "name": "api/v1/system/auth",
                            "title": "权限管理",
                            "icon": "ele-Stamp",
                            "condition": "",
                            "remark": "",
                            "menuType": 0,
                            "weigh": 0,
                            "isHide": 0,
                            "isCached": 1,
                            "isAffix": 0,
                            "path": "/system/auth",
                            "redirect": "0",
                            "component": "layout/routerView/parent",
                            "isIframe": 0,
                            "isLink": 0,
                            "linkUrl": "",
                            "children": [
                                {
                                    "id": 2,
                                    "pid": 1,
                                    "name": "api/v1/system/auth/menuList",
                                    "title": "菜单管理",
                                    "icon": "ele-Calendar",
                                    "condition": "",
                                    "remark": "",
                                    "menuType": 1,
                                    "weigh": 0,
                                    "isHide": 0,
                                    "isCached": 1,
                                    "isAffix": 0,
                                    "path": "/system/auth/menuList",
                                    "redirect": "",
                                    "component": "system/menu/index",
                                    "isIframe": 0,
                                    "isLink": 0,
                                    "linkUrl": "",
                                    "children": [
                                        {
                                            "id": 3,
                                            "pid": 2,
                                            "name": "api/v1/system/menu/add",
                                            "title": "添加菜单",
                                            "icon": "",
                                            "condition": "",
                                            "remark": "",
                                            "menuType": 2,
                                            "weigh": 0,
                                            "isHide": 0,
                                            "isCached": 1,
                                            "isAffix": 0,
                                            "path": "",
                                            "redirect": "",
                                            "component": "",
                                            "isIframe": 0,
                                            "isLink": 0,
                                            "linkUrl": "",
                                            "children": []
                                        },
                                        {
                                            "id": 4,
                                            "pid": 2,
                                            "name": "api/v1/system/menu/update",
                                            "title": "修改菜单",
                                            "icon": "",
                                            "condition": "",
                                            "remark": "",
                                            "menuType": 2,
                                            "weigh": 0,
                                            "isHide": 0,
                                            "isCached": 1,
                                            "isAffix": 0,
                                            "path": "",
                                            "redirect": "",
                                            "component": "",
                                            "isIframe": 0,
                                            "isLink": 0,
                                            "linkUrl": "",
                                            "children": []
                                        },
                                        {
                                            "id": 11,
                                            "pid": 2,
                                            "name": "api/v1/system/menu/delete",
                                            "title": "删除菜单",
                                            "icon": "",
                                            "condition": "",
                                            "remark": "",
                                            "menuType": 2,
                                            "weigh": 0,
                                            "isHide": 0,
                                            "isCached": 1,
                                            "isAffix": 0,
                                            "path": "",
                                            "redirect": "",
                                            "component": "",
                                            "isIframe": 0,
                                            "isLink": 0,
                                            "linkUrl": "",
                                            "children": []
                                        }
                                    ]
                                },
                                {
                                    "id": 10,
                                    "pid": 1,
                                    "name": "api/v1/system/role/list",
                                    "title": "角色管理",
                                    "icon": "iconfont icon-juxingkaobei",
                                    "condition": "",
                                    "remark": "",
                                    "menuType": 1,
                                    "weigh": 0,
                                    "isHide": 0,
                                    "isCached": 1,
                                    "isAffix": 0,
                                    "path": "/system/auth/roleList",
                                    "redirect": "",
                                    "component": "system/role/index",
                                    "isIframe": 0,
                                    "isLink": 0,
                                    "linkUrl": "",
                                    "children": [
                                        {
                                            "id": 12,
                                            "pid": 10,
                                            "name": "api/v1/system/role/add",
                                            "title": "添加角色",
                                            "icon": "",
                                            "condition": "",
                                            "remark": "",
                                            "menuType": 2,
                                            "weigh": 0,
                                            "isHide": 0,
                                            "isCached": 1,
                                            "isAffix": 0,
                                            "path": "",
                                            "redirect": "",
                                            "component": "",
                                            "isIframe": 0,
                                            "isLink": 0,
                                            "linkUrl": "",
                                            "children": []
                                        },
                                        {
                                            "id": 13,
                                            "pid": 10,
                                            "name": "/api/v1/system/role/edit",
                                            "title": "修改角色",
                                            "icon": "",
                                            "condition": "",
                                            "remark": "",
                                            "menuType": 2,
                                            "weigh": 0,
                                            "isHide": 0,
                                            "isCached": 1,
                                            "isAffix": 0,
                                            "path": "",
                                            "redirect": "",
                                            "component": "",
                                            "isIframe": 0,
                                            "isLink": 0,
                                            "linkUrl": "",
                                            "children": []
                                        },
                                        {
                                            "id": 14,
                                            "pid": 10,
                                            "name": "/api/v1/system/role/delete",
                                            "title": "删除角色",
                                            "icon": "",
                                            "condition": "",
                                            "remark": "",
                                            "menuType": 2,
                                            "weigh": 0,
                                            "isHide": 0,
                                            "isCached": 1,
                                            "isAffix": 0,
                                            "path": "",
                                            "redirect": "",
                                            "component": "",
                                            "isIframe": 0,
                                            "isLink": 0,
                                            "linkUrl": "",
                                            "children": []
                                        }
                                    ]
                                },
                                {
                                    "id": 15,
                                    "pid": 1,
                                    "name": "api/v1/system/dept/list",
                                    "title": "部门管理",
                                    "icon": "iconfont icon-siweidaotu",
                                    "condition": "",
                                    "remark": "",
                                    "menuType": 1,
                                    "weigh": 0,
                                    "isHide": 0,
                                    "isCached": 1,
                                    "isAffix": 0,
                                    "path": "/system/auth/deptList",
                                    "redirect": "",
                                    "component": "system/dept/index",
                                    "isIframe": 0,
                                    "isLink": 0,
                                    "linkUrl": "",
                                    "children": [
                                        {
                                            "id": 19,
                                            "pid": 15,
                                            "name": "api/v1/system/dept/add",
                                            "title": "添加部门",
                                            "icon": "",
                                            "condition": "",
                                            "remark": "",
                                            "menuType": 2,
                                            "weigh": 0,
                                            "isHide": 0,
                                            "isCached": 1,
                                            "isAffix": 0,
                                            "path": "",
                                            "redirect": "",
                                            "component": "",
                                            "isIframe": 0,
                                            "isLink": 0,
                                            "linkUrl": "",
                                            "children": []
                                        },
                                        {
                                            "id": 20,
                                            "pid": 15,
                                            "name": "api/v1/system/dept/edit",
                                            "title": "修改部门",
                                            "icon": "",
                                            "condition": "",
                                            "remark": "",
                                            "menuType": 2,
                                            "weigh": 0,
                                            "isHide": 0,
                                            "isCached": 1,
                                            "isAffix": 0,
                                            "path": "",
                                            "redirect": "",
                                            "component": "",
                                            "isIframe": 0,
                                            "isLink": 0,
                                            "linkUrl": "",
                                            "children": []
                                        },
                                        {
                                            "id": 21,
                                            "pid": 15,
                                            "name": "api/v1/system/dept/delete",
                                            "title": "删除部门",
                                            "icon": "",
                                            "condition": "",
                                            "remark": "",
                                            "menuType": 2,
                                            "weigh": 0,
                                            "isHide": 0,
                                            "isCached": 1,
                                            "isAffix": 0,
                                            "path": "",
                                            "redirect": "",
                                            "component": "",
                                            "isIframe": 0,
                                            "isLink": 0,
                                            "linkUrl": "",
                                            "children": []
                                        }
                                    ]
                                },
                                {
                                    "id": 22,
                                    "pid": 1,
                                    "name": "api/v1/system/post/list",
                                    "title": "岗位管理",
                                    "icon": "iconfont icon-neiqianshujuchucun",
                                    "condition": "",
                                    "remark": "",
                                    "menuType": 1,
                                    "weigh": 0,
                                    "isHide": 0,
                                    "isCached": 1,
                                    "isAffix": 0,
                                    "path": "/system/auth/postList",
                                    "redirect": "",
                                    "component": "system/post/index",
                                    "isIframe": 0,
                                    "isLink": 0,
                                    "linkUrl": "",
                                    "children": [
                                        {
                                            "id": 23,
                                            "pid": 22,
                                            "name": "api/v1/system/post/add",
                                            "title": "添加岗位",
                                            "icon": "",
                                            "condition": "",
                                            "remark": "",
                                            "menuType": 2,
                                            "weigh": 0,
                                            "isHide": 0,
                                            "isCached": 1,
                                            "isAffix": 0,
                                            "path": "",
                                            "redirect": "",
                                            "component": "",
                                            "isIframe": 0,
                                            "isLink": 0,
                                            "linkUrl": "",
                                            "children": []
                                        },
                                        {
                                            "id": 24,
                                            "pid": 22,
                                            "name": "api/v1/system/post/edit",
                                            "title": "修改岗位",
                                            "icon": "",
                                            "condition": "",
                                            "remark": "",
                                            "menuType": 2,
                                            "weigh": 0,
                                            "isHide": 0,
                                            "isCached": 1,
                                            "isAffix": 0,
                                            "path": "",
                                            "redirect": "",
                                            "component": "",
                                            "isIframe": 0,
                                            "isLink": 0,
                                            "linkUrl": "",
                                            "children": []
                                        },
                                        {
                                            "id": 25,
                                            "pid": 22,
                                            "name": "api/v1/system/post/delete",
                                            "title": "删除岗位",
                                            "icon": "",
                                            "condition": "",
                                            "remark": "",
                                            "menuType": 2,
                                            "weigh": 0,
                                            "isHide": 0,
                                            "isCached": 1,
                                            "isAffix": 0,
                                            "path": "",
                                            "redirect": "",
                                            "component": "",
                                            "isIframe": 0,
                                            "isLink": 0,
                                            "linkUrl": "",
                                            "children": []
                                        }
                                    ]
                                },
                                {
                                    "id": 26,
                                    "pid": 1,
                                    "name": "api/v1/system/user/list",
                                    "title": "用户管理",
                                    "icon": "ele-User",
                                    "condition": "",
                                    "remark": "",
                                    "menuType": 1,
                                    "weigh": 0,
                                    "isHide": 0,
                                    "isCached": 1,
                                    "isAffix": 0,
                                    "path": "/system/auth/user/list",
                                    "redirect": "",
                                    "component": "system/user/index",
                                    "isIframe": 0,
                                    "isLink": 0,
                                    "linkUrl": "",
                                    "children": []
                                }
                            ]
                        },
                        {
                            "id": 27,
                            "pid": 0,
                            "name": "api/v1/system/dict",
                            "title": "系统配置",
                            "icon": "iconfont icon-shuxingtu",
                            "condition": "",
                            "remark": "",
                            "menuType": 0,
                            "weigh": 0,
                            "isHide": 0,
                            "isCached": 1,
                            "isAffix": 0,
                            "path": "/system/dict",
                            "redirect": "654",
                            "component": "layout/routerView/parent",
                            "isIframe": 0,
                            "isLink": 0,
                            "linkUrl": "",
                            "children": [
                                {
                                    "id": 28,
                                    "pid": 27,
                                    "name": "api/v1/system/dict/type/list",
                                    "title": "字典管理",
                                    "icon": "iconfont icon-crew_feature",
                                    "condition": "",
                                    "remark": "",
                                    "menuType": 1,
                                    "weigh": 0,
                                    "isHide": 0,
                                    "isCached": 1,
                                    "isAffix": 0,
                                    "path": "/system/dict/type/list",
                                    "redirect": "",
                                    "component": "system/dict/index",
                                    "isIframe": 0,
                                    "isLink": 0,
                                    "linkUrl": "",
                                    "children": []
                                },
                                {
                                    "id": 29,
                                    "pid": 27,
                                    "name": "api/v1/system/dict/dataList",
                                    "title": "字典数据管理",
                                    "icon": "iconfont icon-putong",
                                    "condition": "",
                                    "remark": "",
                                    "menuType": 1,
                                    "weigh": 0,
                                    "isHide": 1,
                                    "isCached": 1,
                                    "isAffix": 0,
                                    "path": "/system/dict/data/list/:dictType",
                                    "redirect": "",
                                    "component": "system/dict/dataList",
                                    "isIframe": 0,
                                    "isLink": 0,
                                    "linkUrl": "",
                                    "children": []
                                },
                                {
                                    "id": 30,
                                    "pid": 27,
                                    "name": "api/v1/system/config/list",
                                    "title": "参数管理",
                                    "icon": "ele-Cherry",
                                    "condition": "",
                                    "remark": "",
                                    "menuType": 1,
                                    "weigh": 0,
                                    "isHide": 0,
                                    "isCached": 1,
                                    "isAffix": 0,
                                    "path": "/system/config/list",
                                    "redirect": "",
                                    "component": "system/config/index",
                                    "isIframe": 0,
                                    "isLink": 0,
                                    "linkUrl": "",
                                    "children": []
                                }
                            ]
                        },
                        {
                            "id": 31,
                            "pid": 0,
                            "name": "api/v1/system/monitor",
                            "title": "系统监控",
                            "icon": "iconfont icon-xuanzeqi",
                            "condition": "",
                            "remark": "",
                            "menuType": 0,
                            "weigh": 0,
                            "isHide": 0,
                            "isCached": 1,
                            "isAffix": 0,
                            "path": "/system/monitor",
                            "redirect": "",
                            "component": "layout/routerView/parent",
                            "isIframe": 0,
                            "isLink": 0,
                            "linkUrl": "",
                            "children": [
                                {
                                    "id": 32,
                                    "pid": 31,
                                    "name": "api/v1/system/monitor/server",
                                    "title": "服务监控",
                                    "icon": "iconfont icon-shuju",
                                    "condition": "",
                                    "remark": "",
                                    "menuType": 1,
                                    "weigh": 0,
                                    "isHide": 0,
                                    "isCached": 1,
                                    "isAffix": 0,
                                    "path": "/system/monitor/server",
                                    "redirect": "",
                                    "component": "system/monitor/server/index",
                                    "isIframe": 0,
                                    "isLink": 0,
                                    "linkUrl": "",
                                    "children": []
                                },
                                {
                                    "id": 34,
                                    "pid": 31,
                                    "name": "api/v1/system/loginLog/list",
                                    "title": "登录日志",
                                    "icon": "ele-Finished",
                                    "condition": "",
                                    "remark": "",
                                    "menuType": 1,
                                    "weigh": 0,
                                    "isHide": 0,
                                    "isCached": 1,
                                    "isAffix": 0,
                                    "path": "/system/monitor/loginLog",
                                    "redirect": "",
                                    "component": "system/monitor/loginLog/index",
                                    "isIframe": 0,
                                    "isLink": 0,
                                    "linkUrl": "",
                                    "children": []
                                },
                                {
                                    "id": 38,
                                    "pid": 31,
                                    "name": "api/v1/system/operLog/list",
                                    "title": "操作日志",
                                    "icon": "iconfont icon-bolangnengshiyanchang",
                                    "condition": "",
                                    "remark": "",
                                    "menuType": 1,
                                    "weigh": 0,
                                    "isHide": 0,
                                    "isCached": 1,
                                    "isAffix": 0,
                                    "path": "/system/monitor/operLog",
                                    "redirect": "",
                                    "component": "system/monitor/operLog/index",
                                    "isIframe": 0,
                                    "isLink": 0,
                                    "linkUrl": "",
                                    "children": []
                                },
                                {
                                    "id": 39,
                                    "pid": 31,
                                    "name": "api/v1/system/online/list",
                                    "title": "在线用户",
                                    "icon": "iconfont icon-skin",
                                    "condition": "",
                                    "remark": "",
                                    "menuType": 1,
                                    "weigh": 0,
                                    "isHide": 0,
                                    "isCached": 1,
                                    "isAffix": 0,
                                    "path": "/system/monitor/userOnlie",
                                    "redirect": "",
                                    "component": "system/monitor/userOnline/index",
                                    "isIframe": 0,
                                    "isLink": 0,
                                    "linkUrl": "",
                                    "children": []
                                }
                            ]
                        },
                        {
                            "id": 35,
                            "pid": 0,
                            "name": "api/v1/system/tools",
                            "title": "系统工具",
                            "icon": "iconfont icon-zujian",
                            "condition": "",
                            "remark": "",
                            "menuType": 0,
                            "weigh": 0,
                            "isHide": 0,
                            "isCached": 1,
                            "isAffix": 0,
                            "path": "/system/tools",
                            "redirect": "",
                            "component": "layout/routerView/parent",
                            "isIframe": 0,
                            "isLink": 0,
                            "linkUrl": "",
                            "children": [
                                {
                                    "id": 33,
                                    "pid": 35,
                                    "name": "api/swagger",
                                    "title": "api文档",
                                    "icon": "iconfont icon--chaifenlie",
                                    "condition": "",
                                    "remark": "",
                                    "menuType": 1,
                                    "weigh": 0,
                                    "isHide": 0,
                                    "isCached": 1,
                                    "isAffix": 0,
                                    "path": "/system/swagger",
                                    "redirect": "",
                                    "component": "layout/routerView/iframes",
                                    "isIframe": 1,
                                    "isLink": 1,
                                    "linkUrl": "http://localhost:8808/swagger",
                                    "children": []
                                }
                            ]
                        }
                    ]
                }
            }
        }
    },
    {
        url: `${baseApi}/system/menu/getParams`,
        method: 'get',
        response: () => {
            return {
                "code": 0,
                "message": "",
                "data": {
                    "roles": [
                        {
                            "id": 1,
                            "status": 1,
                            "orderNum": 0,
                            "name": "超级管理员",
                            "remark": "备注",
                            "dataScope": 3,
                            "createdAt": "2024-08-28 22:26:21",
                            "updatedAt": "2024-08-29 00:06:59"
                        },
                        {
                            "id": 2,
                            "status": 1,
                            "orderNum": 0,
                            "name": "普通管理员",
                            "remark": "备注",
                            "dataScope": 3,
                            "createdAt": "2024-08-28 22:26:21",
                            "updatedAt": "2024-08-28 22:26:21"
                        },
                        {
                            "id": 3,
                            "status": 1,
                            "orderNum": 0,
                            "name": "站点管理员",
                            "remark": "站点管理人员",
                            "dataScope": 3,
                            "createdAt": "2024-08-28 22:26:21",
                            "updatedAt": "2024-08-28 22:26:21"
                        },
                        {
                            "id": 4,
                            "status": 1,
                            "orderNum": 0,
                            "name": "初级管理员",
                            "remark": "初级管理员",
                            "dataScope": 3,
                            "createdAt": "2024-08-28 22:26:21",
                            "updatedAt": "2024-08-28 22:26:21"
                        },
                        {
                            "id": 5,
                            "status": 1,
                            "orderNum": 0,
                            "name": "高级管理员",
                            "remark": "高级管理员",
                            "dataScope": 2,
                            "createdAt": "2024-08-28 22:26:21",
                            "updatedAt": "2024-08-28 22:26:21"
                        },
                        {
                            "id": 8,
                            "status": 1,
                            "orderNum": 0,
                            "name": "区级管理员",
                            "remark": "",
                            "dataScope": 2,
                            "createdAt": "2024-08-28 22:26:21",
                            "updatedAt": "2024-08-28 22:26:21"
                        }
                    ],
                    "menus": [
                        {
                            "id": 17,
                            "pid": 0,
                            "name": "outLink",
                            "title": "外链测试",
                            "icon": "iconfont icon-zhongduancanshu",
                            "condition": "",
                            "remark": "",
                            "menuType": 0,
                            "weigh": 20,
                            "isHide": 0,
                            "isCached": 1,
                            "isAffix": 0,
                            "path": "/demo/outLink",
                            "redirect": "",
                            "component": "layout/routerView/parent",
                            "isIframe": 0,
                            "isLink": 0,
                            "linkUrl": ""
                        },
                        {
                            "id": 1,
                            "pid": 0,
                            "name": "api/v1/system/auth",
                            "title": "权限管理",
                            "icon": "ele-Stamp",
                            "condition": "",
                            "remark": "",
                            "menuType": 0,
                            "weigh": 0,
                            "isHide": 0,
                            "isCached": 1,
                            "isAffix": 0,
                            "path": "/system/auth",
                            "redirect": "0",
                            "component": "layout/routerView/parent",
                            "isIframe": 0,
                            "isLink": 0,
                            "linkUrl": ""
                        },
                        {
                            "id": 2,
                            "pid": 1,
                            "name": "api/v1/system/auth/menuList",
                            "title": "菜单管理",
                            "icon": "ele-Calendar",
                            "condition": "",
                            "remark": "",
                            "menuType": 1,
                            "weigh": 0,
                            "isHide": 0,
                            "isCached": 1,
                            "isAffix": 0,
                            "path": "/system/auth/menuList",
                            "redirect": "",
                            "component": "system/menu/index",
                            "isIframe": 0,
                            "isLink": 0,
                            "linkUrl": ""
                        },
                        {
                            "id": 10,
                            "pid": 1,
                            "name": "api/v1/system/role/list",
                            "title": "角色管理",
                            "icon": "iconfont icon-juxingkaobei",
                            "condition": "",
                            "remark": "",
                            "menuType": 1,
                            "weigh": 0,
                            "isHide": 0,
                            "isCached": 1,
                            "isAffix": 0,
                            "path": "/system/auth/roleList",
                            "redirect": "",
                            "component": "system/role/index",
                            "isIframe": 0,
                            "isLink": 0,
                            "linkUrl": ""
                        },
                        {
                            "id": 15,
                            "pid": 1,
                            "name": "api/v1/system/dept/list",
                            "title": "部门管理",
                            "icon": "iconfont icon-siweidaotu",
                            "condition": "",
                            "remark": "",
                            "menuType": 1,
                            "weigh": 0,
                            "isHide": 0,
                            "isCached": 1,
                            "isAffix": 0,
                            "path": "/system/auth/deptList",
                            "redirect": "",
                            "component": "system/dept/index",
                            "isIframe": 0,
                            "isLink": 0,
                            "linkUrl": ""
                        },
                        {
                            "id": 16,
                            "pid": 17,
                            "name": "aliyun",
                            "title": "阿里云-iframe",
                            "icon": "iconfont icon-diannao1",
                            "condition": "",
                            "remark": "",
                            "menuType": 1,
                            "weigh": 0,
                            "isHide": 0,
                            "isCached": 1,
                            "isAffix": 0,
                            "path": "/demo/outLink/aliyun",
                            "redirect": "",
                            "component": "layout/routerView/iframes",
                            "isIframe": 1,
                            "isLink": 1,
                            "linkUrl": "https://www.aliyun.com/daily-act/ecs/activity_selection?spm=5176.8789780.J_3965641470.5.568845b58KHj51"
                        },
                        {
                            "id": 18,
                            "pid": 17,
                            "name": "tenyun",
                            "title": "腾讯云-外链",
                            "icon": "iconfont icon-shouye_dongtaihui",
                            "condition": "",
                            "remark": "",
                            "menuType": 1,
                            "weigh": 0,
                            "isHide": 0,
                            "isCached": 1,
                            "isAffix": 0,
                            "path": "/demo/outLink/tenyun",
                            "redirect": "",
                            "component": "layout/routerView/link",
                            "isIframe": 0,
                            "isLink": 1,
                            "linkUrl": "https://cloud.tencent.com/act/new?cps_key=20b1c3842f74986b2894e2c5fcde7ea2&fromSource=gwzcw.3775555.3775555.3775555&utm_id=gwzcw.3775555.3775555.3775555&utm_medium=cpc"
                        },
                        {
                            "id": 22,
                            "pid": 1,
                            "name": "api/v1/system/post/list",
                            "title": "岗位管理",
                            "icon": "iconfont icon-neiqianshujuchucun",
                            "condition": "",
                            "remark": "",
                            "menuType": 1,
                            "weigh": 0,
                            "isHide": 0,
                            "isCached": 1,
                            "isAffix": 0,
                            "path": "/system/auth/postList",
                            "redirect": "",
                            "component": "system/post/index",
                            "isIframe": 0,
                            "isLink": 0,
                            "linkUrl": ""
                        },
                        {
                            "id": 26,
                            "pid": 1,
                            "name": "api/v1/system/user/list",
                            "title": "用户管理",
                            "icon": "ele-User",
                            "condition": "",
                            "remark": "",
                            "menuType": 1,
                            "weigh": 0,
                            "isHide": 0,
                            "isCached": 1,
                            "isAffix": 0,
                            "path": "/system/auth/user/list",
                            "redirect": "",
                            "component": "system/user/index",
                            "isIframe": 0,
                            "isLink": 0,
                            "linkUrl": ""
                        },
                        {
                            "id": 27,
                            "pid": 0,
                            "name": "api/v1/system/dict",
                            "title": "系统配置",
                            "icon": "iconfont icon-shuxingtu",
                            "condition": "",
                            "remark": "",
                            "menuType": 0,
                            "weigh": 0,
                            "isHide": 0,
                            "isCached": 1,
                            "isAffix": 0,
                            "path": "/system/dict",
                            "redirect": "654",
                            "component": "layout/routerView/parent",
                            "isIframe": 0,
                            "isLink": 0,
                            "linkUrl": ""
                        },
                        {
                            "id": 28,
                            "pid": 27,
                            "name": "api/v1/system/dict/type/list",
                            "title": "字典管理",
                            "icon": "iconfont icon-crew_feature",
                            "condition": "",
                            "remark": "",
                            "menuType": 1,
                            "weigh": 0,
                            "isHide": 0,
                            "isCached": 1,
                            "isAffix": 0,
                            "path": "/system/dict/type/list",
                            "redirect": "",
                            "component": "system/dict/index",
                            "isIframe": 0,
                            "isLink": 0,
                            "linkUrl": ""
                        },
                        {
                            "id": 29,
                            "pid": 27,
                            "name": "api/v1/system/dict/dataList",
                            "title": "字典数据管理",
                            "icon": "iconfont icon-putong",
                            "condition": "",
                            "remark": "",
                            "menuType": 1,
                            "weigh": 0,
                            "isHide": 1,
                            "isCached": 1,
                            "isAffix": 0,
                            "path": "/system/dict/data/list/:dictType",
                            "redirect": "",
                            "component": "system/dict/dataList",
                            "isIframe": 0,
                            "isLink": 0,
                            "linkUrl": ""
                        },
                        {
                            "id": 30,
                            "pid": 27,
                            "name": "api/v1/system/config/list",
                            "title": "参数管理",
                            "icon": "ele-Cherry",
                            "condition": "",
                            "remark": "",
                            "menuType": 1,
                            "weigh": 0,
                            "isHide": 0,
                            "isCached": 1,
                            "isAffix": 0,
                            "path": "/system/config/list",
                            "redirect": "",
                            "component": "system/config/index",
                            "isIframe": 0,
                            "isLink": 0,
                            "linkUrl": ""
                        },
                        {
                            "id": 31,
                            "pid": 0,
                            "name": "api/v1/system/monitor",
                            "title": "系统监控",
                            "icon": "iconfont icon-xuanzeqi",
                            "condition": "",
                            "remark": "",
                            "menuType": 0,
                            "weigh": 0,
                            "isHide": 0,
                            "isCached": 1,
                            "isAffix": 0,
                            "path": "/system/monitor",
                            "redirect": "",
                            "component": "layout/routerView/parent",
                            "isIframe": 0,
                            "isLink": 0,
                            "linkUrl": ""
                        },
                        {
                            "id": 32,
                            "pid": 31,
                            "name": "api/v1/system/monitor/server",
                            "title": "服务监控",
                            "icon": "iconfont icon-shuju",
                            "condition": "",
                            "remark": "",
                            "menuType": 1,
                            "weigh": 0,
                            "isHide": 0,
                            "isCached": 1,
                            "isAffix": 0,
                            "path": "/system/monitor/server",
                            "redirect": "",
                            "component": "system/monitor/server/index",
                            "isIframe": 0,
                            "isLink": 0,
                            "linkUrl": ""
                        },
                        {
                            "id": 33,
                            "pid": 35,
                            "name": "api/swagger",
                            "title": "api文档",
                            "icon": "iconfont icon--chaifenlie",
                            "condition": "",
                            "remark": "",
                            "menuType": 1,
                            "weigh": 0,
                            "isHide": 0,
                            "isCached": 1,
                            "isAffix": 0,
                            "path": "/system/swagger",
                            "redirect": "",
                            "component": "layout/routerView/iframes",
                            "isIframe": 1,
                            "isLink": 1,
                            "linkUrl": "http://localhost:8808/swagger"
                        },
                        {
                            "id": 34,
                            "pid": 31,
                            "name": "api/v1/system/loginLog/list",
                            "title": "登录日志",
                            "icon": "ele-Finished",
                            "condition": "",
                            "remark": "",
                            "menuType": 1,
                            "weigh": 0,
                            "isHide": 0,
                            "isCached": 1,
                            "isAffix": 0,
                            "path": "/system/monitor/loginLog",
                            "redirect": "",
                            "component": "system/monitor/loginLog/index",
                            "isIframe": 0,
                            "isLink": 0,
                            "linkUrl": ""
                        },
                        {
                            "id": 35,
                            "pid": 0,
                            "name": "api/v1/system/tools",
                            "title": "系统工具",
                            "icon": "iconfont icon-zujian",
                            "condition": "",
                            "remark": "",
                            "menuType": 0,
                            "weigh": 0,
                            "isHide": 0,
                            "isCached": 1,
                            "isAffix": 0,
                            "path": "/system/tools",
                            "redirect": "",
                            "component": "layout/routerView/parent",
                            "isIframe": 0,
                            "isLink": 0,
                            "linkUrl": ""
                        },
                        {
                            "id": 38,
                            "pid": 31,
                            "name": "api/v1/system/operLog/list",
                            "title": "操作日志",
                            "icon": "iconfont icon-bolangnengshiyanchang",
                            "condition": "",
                            "remark": "",
                            "menuType": 1,
                            "weigh": 0,
                            "isHide": 0,
                            "isCached": 1,
                            "isAffix": 0,
                            "path": "/system/monitor/operLog",
                            "redirect": "",
                            "component": "system/monitor/operLog/index",
                            "isIframe": 0,
                            "isLink": 0,
                            "linkUrl": ""
                        },
                        {
                            "id": 39,
                            "pid": 31,
                            "name": "api/v1/system/online/list",
                            "title": "在线用户",
                            "icon": "iconfont icon-skin",
                            "condition": "",
                            "remark": "",
                            "menuType": 1,
                            "weigh": 0,
                            "isHide": 0,
                            "isCached": 1,
                            "isAffix": 0,
                            "path": "/system/monitor/userOnlie",
                            "redirect": "",
                            "component": "system/monitor/userOnline/index",
                            "isIframe": 0,
                            "isLink": 0,
                            "linkUrl": ""
                        }
                    ]
                }
            }
        }
    },
    {
        url: `${baseApi}/system/menu/get`,
        //params:{id:17},
        method: 'get',
        response: () => {
            return {
                "code": 0,
                "message": "",
                "data": {
                    "rule": {
                        "id": 17,
                        "pid": 0,
                        "name": "outLink",
                        "title": "外链测试",
                        "icon": "iconfont icon-zhongduancanshu",
                        "condition": "",
                        "remark": "",
                        "menuType": 0,
                        "weigh": 20,
                        "isHide": 0,
                        "path": "/demo/outLink",
                        "component": "layout/routerView/parent",
                        "isLink": 0,
                        "moduleType": "",
                        "modelId": 0,
                        "isIframe": 0,
                        "isCached": 1,
                        "redirect": "",
                        "isAffix": 0,
                        "linkUrl": "",
                        "createdAt": "2022-04-07 15:20:51",
                        "updatedAt": "2022-04-14 16:29:07"
                    },
                    "roleIds": null
                }
            }
        }
    }
] as MockMethod[]

